package com.hntky.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import lombok.Data;

/**
 * 
 * @TableName t_nurse
 */
@TableName(value ="t_nurse")
@Data
public class Nurse implements Serializable {
    /**
     * 护士编号
     */
    @TableId(value = "nid", type = IdType.AUTO)
    private Integer nid;

    /**
     * 护士姓名
     */
    @TableField(value = "nname")
    private String nname;

    /**
     * 护士性别
     */
    @TableField(value = "ngender")
    private String ngender;

    /**
     * 护士年龄
     */
    @TableField(value = "nage")
    private String nage;

    /**
     * 科室号
     */
    @TableField(value = "sectorId")
    private Integer sectorid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private String sector;

    @TableField(exist = false)
    private List<Sickroom> sickrooms;
}